package com.cy.dda.dao.mapper.customer;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.cy.dda.model.domain.customer.CustomerRisk;
import com.cy.dda.model.dto.customer.StatisticsCustomerRiskCountDTO;
import com.cy.dda.model.vo.statistics.StatisticsCustomerRiskCountVO;

import tk.mybatis.mapper.common.BaseMapper;

/**
 * CustomerRisk
 *
 * @author: tanyilin
 * @create: 2018年10月31日 下午1:58:28
 */
@Mapper
public interface CustomerRiskMapper extends BaseMapper<CustomerRisk> {

	/**
	 * 客户数量按风险级别统计
	 * 
	 * @return
	 */
	List<StatisticsCustomerRiskCountVO> selectStatisticsCustomerRiskCountVO();
	
	/**
	 * 按照逾期性质统计客户数量
	 * 
	 * @return
	 */
	StatisticsCustomerRiskCountDTO selectStatisticsCustomerRiskCountDTO();
}
